home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / SPLT244.ARJ / SPLOT.PRT < prev    next >
Text File  |  1992-06-23  |  67KB  |  1,688 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                S P L O T  -  The Pen Plotter Simulator V2.44
  12.                ---------------------------------------------
  13.                    Copyright (C) 1989-92 by Alexandr NOVY
  14.                              All rights reserved.
  15.  
  16.  
  17.  
  18.           U S E R ' S   M A N U A L   F O R   MS-DOS   V E R S I O N
  19.           ----------------------------------------------------------
  20.                                   June 1992
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                               Table of Contents
  33.  
  34.         1. INTRODUCTION............................................1
  35.         2. LICENSING, EVALUATION and REGISTRATION INFORMATION......3
  36.         3. THE SPLOT WORKING PRINCIPLES............................6
  37.         4. WORKING WITH THE PROGRAM................................6
  38.            4.1 ZOOMING.............................................7
  39.            4.2 LIST OF KEYS IN A SMALL VIEW........................8
  40.            4.3 LIST OF KEYS IN A LARGE VIEW........................9
  41.         5. EXPORT.................................................10
  42.         6. OPTIONS................................................12
  43.         7. INSERTING TEXTS INTO PICTURES..........................17
  44.         8. VIDEO CONFIGURATION....................................21
  45.         9. PEN IDENTIFICATION.....................................22
  46.         10. NOTES.................................................24
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.                                     - i -
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.                 1. INTRODUCTION
  97.                 ---------------
  98.  
  99.           The SPLOT program is  a highly effective tool  intended for
  100.         simulating the pen plotter on the display of an IBM PC.   The
  101.         SPLOT program is  the very thing  you need to  make your work
  102.         with the plotter more effective. The SPLOT program will  give
  103.         you a guarantee you will always draw on your plotter what you
  104.         really want. That is why it will save your nerves, your time,
  105.         your plotter, pens and paper, that means your money.
  106.  
  107.  
  108.          The SPLOT program can offer:
  109.  
  110.          - active support of about 50 HP-GL instructions (according
  111.            to the type of your plotter).
  112.  
  113.          - active support of 20 DXY-GL instructions (for ROLAND
  114.            plotters).
  115.  
  116.          - possibility of exporting a  picture to the printer and  in
  117.            this way to obtain an output of a high quality. The  SPLOT
  118.            program uses the  best graphics resolutions  available for
  119.            each printer  that it  supports and  optionally uses  data
  120.            packing to improve transfer speed.  In this way the  SPLOT
  121.            program will  make a  fast and  excellent plotter  of your
  122.            printer. It supports all usual types of printers including
  123.            color ones.
  124.  
  125.          - exporting a picture to the HP-GL, DXY-GL, PLOTCALL, DXF
  126.            formats.
  127.  
  128.          - possibility of making picture cuts (the ZOOM function). In
  129.            this way you can scan,  draw on the plotter or  print only
  130.            the selected part of the picture.
  131.  
  132.          - possibility  of  completing  the  picture  with  a    text
  133.            including multilingual characters - in this way the  SPLOT
  134.            program will teach  your plotter German  (Spanish, French,
  135.            etc.)  easily  and  quickly  without complicated switching
  136.            between  character  sets!   The  built-in  HP-GL or DXY-GL
  137.            exports respectively, will make it possible. Due to  these
  138.            exports it is also possible:
  139.  
  140.            -  to  offer  a  highly  optimized output for your plotter
  141.              (where each pen is grasped only once).
  142.  
  143.            - to  teach  your  plotter  the advanced instructions  you
  144.              would get only  if you buy  a more expensive  plotter or
  145.              additional  hardware  (e.g.,   the  SPLOT  program   can
  146.              simulate  connecting  an  additional  HP 17440A graphics
  147.              enhancement cartridge to the HP 7440A ColorPro plotter).
  148.  
  149.  
  150.  
  151.  
  152.  
  153.                                     - 1 -
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.         The SPLOT program can be used by:
  161.  
  162.         - anybody who wants to work with his plotter in the WYSIWYG
  163.           style (What You See Is What You Get).
  164.  
  165.         - anybody  who  wants  to  develop  his  own plotter  program
  166.           applications.   You  can  reach  it  with the SPLOT program
  167.           easily even if you do not own the plotter at all!
  168.  
  169.         - anybody  who  wants  to  use  his  printer  as  a   plotter
  170.           occasionally or constantly. In  many cases using a  printer
  171.           may be faster and moreover, this may be an alternative of a
  172.           high quality.
  173.  
  174.         - anybody who wants to program a printer in graphics mode and
  175.           at  a  high  level  and  who  does  not  want  to   develop
  176.           complicated software which would enable it. In these  cases
  177.           using  the  HP-GL  language  in  connection  with the SPLOT
  178.           program  seems  to  be  very  advantageous for creating own
  179.           graphics outputs. The HP-GL  language can  be learned  very
  180.           easily and in addition, it offers unexpected possibilities.
  181.  
  182.  
  183.  
  184.           The  SPLOT  program  is   available  in  various   versions
  185.         according to  the type of simulated plotter. This  means that
  186.         each SPLOT.EXE  module is  designated for  a certain  plotter
  187.         type.   This  principle  gives  the  maximum  reliability  of
  188.         simulation of the given plotter type. At present versions for
  189.         the following plotter types are at your disposal:
  190.  
  191.            Plotter type                          | Plotter syntax
  192.          ------------------------------------------------------------
  193.            ROLAND DXY 1100/1200/1300             | DXY-GL / RD-GL I
  194.            HP 7470A                              | HP-GL
  195.            HP 7475A                              | HP-GL
  196.            HP 7440A ColorPro                     | HP-GL
  197.            HP 7550A                              | HP-GL
  198.            HP 7570A/7575A/7576A DraftPro DXL/EXL | HP-GL
  199.            HP 7595A/7596A DraftMaster I/II       | HP-GL
  200.  
  201.           An UNREGISTERED COPY  of the program  is available only  in
  202.         the version for the HP 7475A plotter. The versions for  other
  203.         plotter types can  be received only  on the basis  of regular
  204.         registration. See next chapter  for licensing, evaluation and
  205.         registration information or see file LICENCE.DOC for details.
  206.  
  207.           The  SPLOT  program  is  designated  for  using with IBM PC
  208.         computers  and  compatibles,  and  for  the MS-DOS and PC-DOS
  209.         version  3.00  and  higher  ones  (in  the  near  future  the
  210.         MS-WINDOWS version will be finished too). In the DOS  version
  211.         graphics cards EGA  or VGA are  required. To run  the program
  212.         comfortably it is recommended to  use a Microsoft Mouse or  a
  213.         compatible one.
  214.  
  215.  
  216.  
  217.                                     - 2 -
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                 2. LICENSING, EVALUATION and REGISTRATION INFORMATION
  227.                 -----------------------------------------------------
  228.  
  229.         SPLOT  is  distributed  as  "Shareware"  or  "User  Supported
  230.         Software"  and  is  fully  copyrighted.  If  you register the
  231.         program you will receive these benefits:
  232.  
  233.           1) The latest version of SPLOT.
  234.           2) A printed user's manual.
  235.           3) A printed technical reference which describes
  236.              all plotter instructions supported by SPLOT.
  237.           4) An end to the nag screens and opening banners.
  238.           5) Deep discounts on the next major versions.
  239.           6) A collection of useful utilities:
  240.              - BPRINT.COM - prints binary files on a printer
  241.                             on time background with many options.
  242.              - BPLOT.COM  - plots files on a pen plotter on time
  243.                             background with many options.
  244.              - CLPT.COM - redirects printer ports to a disk file.
  245.              - CPORT.COM - redirects serial ports to a disk file.
  246.  
  247.  
  248.         The  single  user  registration  fee  for SPLOT is $70.00 US.
  249.         The multisystem site fee for SPLOT is $150.00. Users  outside
  250.         of   Europe   should   include   an   additional   $5.00  for
  251.         international airmail.
  252.  
  253.         I can accept payment in these three ways only:
  254.  
  255.          1) In cash (money enclosed) - this is the preferred  method,
  256.             but at your risk.
  257.  
  258.          2) Bank or travelers cheque enclosed - please make  a cheque
  259.             payable in US funds.
  260.  
  261.          3) Bank transfer - you  may transfer payment from your  bank
  262.             to  Zivnostenska  Bank  Prague,  but  this  may  be  more
  263.             expensive for you. In this case do not forget include  my
  264.             and your full  addresses as a  part of this  transfer and
  265.             send me completed registration form too.
  266.  
  267.         I can NOT accept payment via credit card numbers !
  268.  
  269.         Since the SPLOT program is always distributed in the  version
  270.         adapted for a certain plotter type, do not forget to  mention
  271.         the  plotter  type  with  which  you  want  to  use the SPLOT
  272.         program.  A list of plotters you can choose from is given  in
  273.         the  first  chapter  or  in  the  PLOTTERS.DOC  file.  In the
  274.         PLOTTERS.DOC  file  there  are  also  given the parameters of
  275.         these   plotters   together   with   a   list   of  supported
  276.         instructions. It makes possible to choose a suitable  plotter
  277.         type even if  your plotter is  not listed (most  plotters are
  278.  
  279.  
  280.  
  281.                                     - 3 -
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.         compatible with some plotter from the list).  Of course,  you
  289.         can order more SPLOT  program versions for different  plotter
  290.         types.  In this case the single user registration fee for any
  291.         further version is  $20.00 (+ $5.00  outside Europe) and  the
  292.         multisystem site fee is $40.00 (+ $5.00 outside Europe). This
  293.         principle  is  also  valid  for  an  upgrade.   If  you  have
  294.         registered at  least one  SPLOT program  version at  the full
  295.         price of $70.00 ($150.00), now and in the future only  $20.00
  296.         ($40.00) is to be paid for all other versions.
  297.  
  298.  
  299.         To register, please use the registration/order form  supplied
  300.         with  this  package  ( as provided in the file  ORDER.FRM  ).
  301.         Please send the completed form along with a payment to:
  302.  
  303.             Alexandr Novy
  304.             Havlickova 2209
  305.             390 01 TABOR
  306.             Czechoslovakia
  307.  
  308.         NOTE: Czechoslovak users of SPLOT should contact Czechoslovak
  309.         distributor,  SOFTECH,  P.O.B. 69,   323 00 Plzen 23,   CSFR,
  310.         Tel./Fax  0042-19-226294.   A special Czech language  version
  311.         of the package is available from them as well.
  312.  
  313.         NOTE: German users of SPLOT should contact German distributor,
  314.         Bavaria Computer Systeme,  Untere Donaulände 5,  8390 Passau,
  315.         Tel. 0851/36255,  Fax 0851/35904.  A special  German language
  316.         version of the package is available from them as well.
  317.  
  318.  
  319.  
  320.                        EVALUATION AGREEMENT
  321.  
  322.         SPLOT  is not  and  has never been  public  domain  software,
  323.         nor is it free software.
  324.  
  325.         Non-licensed users are granted a limited license to use SPLOT
  326.         on  a  14-day  trial  basis  for  the  purpose of determining
  327.         whether SPLOT is suitable for their needs.  The use of SPLOT,
  328.         except for the initial 14-day trial,  requires  registration.
  329.         The use of unlicensed copies of SPLOT by any person,business,
  330.         corporation or any other entity is strictly prohibited.
  331.  
  332.         No one may modify or  patch the SPLOT executable file  in any
  333.         way, including but not limited to decompiling, disassembling,
  334.         or otherwise reverse engineering the program.
  335.  
  336.         A limited  license is  granted to  copy and  distribute SPLOT
  337.         only  for  the  trial  use  of  others,  subject to the above
  338.         limitations, and also the following:
  339.  
  340.         1) SPLOT must be  copied in unmodified form,  complete
  341.            with the file containing this license information.
  342.  
  343.  
  344.  
  345.                                     - 4 -
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.         2) The full machine-readable SPLOT documentation  must
  353.            be included with each copy.
  354.  
  355.         3) SPLOT  may not  be distributed  in conjunction with
  356.            any other product without a specific license to  do
  357.            so from author.
  358.  
  359.         4) No  fee,  charge,  or  other  compensation  may  be
  360.            requested or accepted, except as authorized below:
  361.  
  362.            a) Operators of  electronic bulletin board  systems
  363.               (sysops)   may   make   SPLOT   available    for
  364.               downloading as long as the above conditions  are
  365.               met.   An overall  or time-dependent  charge for
  366.               the  use  of  the   bulletin  board  system   is
  367.               permitted as  long as  there is  not a  specific
  368.               charge for the download of SPLOT.
  369.  
  370.            b) Vendors of user-supported or shareware  software
  371.               may  distribute  SPLOT  after  obtaining written
  372.               permission  from  author.  Such  permission   is
  373.               usually granted. Vendors may charge a reasonable
  374.               disk duplication and handling fee.
  375.  
  376.  
  377.  
  378.                        LICENSING AGREEMENT
  379.  
  380.         Licensed user are bound to the following licensing agreement.
  381.  
  382.         You may not transfer your license without written  permission
  383.         from author.  A single  user license  permits a  user to  use
  384.         SPLOT only on a single computer at a time.
  385.  
  386.         This product is distributed  AS IS.  The  author specifically
  387.         disclaims all  warranties, expressed  or implied,  including,
  388.         but not limited to, implied warranties of merchantability and
  389.         fitness for a particular  purpose with respect to  defects in
  390.         the diskette and  documentation, and program  license granted
  391.         herein,  in  particular,  without  limiting  operation of the
  392.         program license with  respect to any  use or purpose.   In no
  393.         event shall the author  be  liable for any loss of  profit or
  394.         damage  including  but  not  limited  to special, incidental,
  395.         consequential or other damages.
  396.  
  397.         By licensing SPLOT you agree to the above licensing agreement.
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.                                     - 5 -
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.                 3. THE SPLOT WORKING PRINCIPLES
  417.                 -------------------------------
  418.  
  419.           The plotter  simulation consists  in  interpreting  plotter
  420.         instructions contained  in a  disk file.   The SPLOT  program
  421.         reads these instructions from the file and plots them on  the
  422.         screen of the computer in  the same way as the  plotter would
  423.         do  on  paper.  The  file  is  plotted  in  the  window which
  424.         represents the plotting paper of the plotter.  The boundaries
  425.         of this window normally correspond to the hard clip limits of
  426.         the plotter (i. e., to the physical limits in which a plotter
  427.         pen  can  move  for  the  selected  paper  size). If the ZOOM
  428.         function is used,  the chosen plotting  area is displayed  in
  429.         this window.
  430.  
  431.  
  432.  
  433.                 4. WORKING WITH THE PROGRAM
  434.                 ---------------------------
  435.  
  436.           The SPLOT program can be  operated using the keyboard or  a
  437.         mouse. From the keyboard the program is operated by  pressing
  438.         the keys the list of which is given in chapters 4.2 and  4.3.
  439.         If you have a mouse installed, its cursor will appear on  the
  440.         screen.  The shape of the cursor is a cross which appears  in
  441.         the plotting  area (paper)  (see chapter  4.1), outside  this
  442.         area it is a rectangle of  one letter size.  The function  of
  443.         this cursor is to choose, activate and change items displayed
  444.         visually. You can make a  choice by moving the cursor  on the
  445.         selected item  and by  pressing any  button of  the mouse. At
  446.         this moment a  tick off character  appears on the  cursor and
  447.         only after releasing the pressed button the action associated
  448.         with the selected item is  realized. If you choose from  more
  449.         items in the menu (e.g., choosing a file to be plotted),  you
  450.         have to make a double  click since the first pressing  serves
  451.         to highlighting an item.
  452.  
  453.           The program can perform plotting the chosen file on one  of
  454.         two pages, they are called "a small view" and "a large  view"
  455.         here.
  456.  
  457.           A small view is used for setting the chosen parameters  and
  458.         selecting  the  file  to  be  plotted.  The  file can be also
  459.         plotted in a small area.
  460.  
  461.           The choice of the file to be plotted can be made either  by
  462.         entering its name  or by choosing  it from the  menu. In this
  463.         menu there are all the files of the given directory with  the
  464.         extension  T  displayed  and   there  are  also  all   the
  465.         subdirectories the contents of which can be displayed  simply
  466.         by choosing a subdirectory from the menu. Any file group  can
  467.         be displayed also  by means of  the wildcards *  and ? (e.g.,
  468.         '*.*' will display all the files in the given directory).  As
  469.         soon as the file to be plotted is chosen, its plotting starts
  470.  
  471.  
  472.  
  473.                                     - 6 -
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.         on  the  page that is set up  by the F1 key (A SMALL VIEW  or
  481.         A LARGE VIEW).
  482.  
  483.           Plotting the file can be  stopped by pressing the keys  F1,
  484.         Esc, Ctrl-C or  Ctrl-Break at any  time. If the  plotting was
  485.         performed in a large view, after finishing plotting you  will
  486.         stay on the page of a large view.
  487.  
  488.           Returning from the large view page can be performed by  the
  489.         F1 key.
  490.  
  491.  
  492.  
  493.                 4.1 ZOOMING
  494.                 -----------
  495.  
  496.           With the cursor run by the mouse or the keyboard resp., you
  497.         can enlarge the chosen cuts of the plotted area. The movement
  498.         of the cursor is realized by moving the mouse or pressing the
  499.         keys Ctrl+arrows.
  500.  
  501.          By pressing any button of the mouse in the plotting area you
  502.         define one corner of the box. The next movement of the  mouse
  503.         or the  cursor keys  with the  Ctrl key  pressed expands  and
  504.         contracts the box around the  area you desire you expand.  If
  505.         the Scroll Lock is switched  on or the Shift key  is pressed,
  506.         or if you press the left button of  the mouse with the  right
  507.         button of the mouse simultaneously, the box moves as a whole.
  508.         By the right  button of the  mouse you can start zooming. The
  509.         left button cancels the given box and you can get back to the
  510.         mode of the simple movement of the mouse cursor.
  511.  
  512.           If you press both  the buttons  in the  mode of  the simple
  513.         movement  of  the  cursor  simultaneously,  the  picture   is
  514.         expanded into the original size.
  515.  
  516.           If you have not a mouse, you can use the Ins(ert) key which
  517.         corresponds  with  the  left  button  of  the  mouse  and the
  518.         Ctrl_Enter key which corresponds  with the right button.  The
  519.         function of the Tab key is the same as that of pressing  both
  520.         the buttons of the mouse at  a time. In a large view  you can
  521.         use Enter instead of Ctrl_Enter and only an arrow instead  of
  522.         Ctrl+arrow.
  523.  
  524.           If you have a three button mouse (Mouse Systems),  pressing
  525.         the middle mouse button  is equivalent to pressing  the right
  526.         and left buttons simultaneously.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.                                     - 7 -
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.                 4.2 LIST OF KEYS IN A SMALL VIEW
  545.                 ---------------------------------
  546.  
  547.         F1 - It selects "A SMALL VIEW" or "A LARGE VIEW" for plotting
  548.              the file.
  549.  
  550.         F2 - The choice of a disk.
  551.  
  552.         F3 - It replots the selected file in the given picture box.
  553.  
  554.         F4 - The choice of parameters. In the menu initiated by  this
  555.              key it  is possible  to set  various program  parameters
  556.              concerning  also  exporting  a  picture to the supported
  557.              formats. See chapter 6 for more details.
  558.  
  559.         F5 - It changes the paper size according to the plotter  type
  560.              and the selected paper norm.
  561.  
  562.         Alt_F5 -  It switches  among the  paper norms (ISO,ANSI,ARCH)
  563.              defining the paper size according to the plotter type.
  564.  
  565.         Ctrl_F5, Alt_E - It switches  the EXPAND mode on and  off (on
  566.              condition it is supported for the given plotter type).
  567.  
  568.         F6 - In the ROLAND plotter version it switches between  RD-GL
  569.              and   DXY-GL   command   mode   (Note: the  RD-GL syntax
  570.              corresponds with the HP-GL syntax). In some versions  it
  571.              makes  a  choice  of  the  plotter  type (e.g. in the HP
  572.              DraftPro   version   it   switches   among   the   types
  573.              7570A/7575A/7576A). In the version for HP 7440A ColorPro
  574.              it switches on  or off the  simulation of the  HP 17440A
  575.              graphics enhancement cartridge.
  576.  
  577.         Alt_F6,Alt_U - In the  ROLAND plotter version in  DXY-GL mode
  578.              it changes the  plotter unit size  from 0.1 mm  to 0.025
  579.              mm.  In RD-GL mode  or HP-GL mode the plotter  unit size
  580.              is always 0.025 mm.
  581.  
  582.         Alt_F7, Alt_F - In the  ROLAND plotter version the choice  of
  583.              an initial font (the font set up after switching on  the
  584.              plotter or after its initialization).
  585.  
  586.         F7 - It switches on or off a multilingual TEXT filter in  the
  587.              LB command of HP-GL mode (or in the P command of  DXY-GL
  588.              mode  of  the  ROLAND  plotter).  See chapter 7 for more
  589.              detailed information.
  590.  
  591.         F8 - It activates  the export  of the  displayed part of  the
  592.              HP-GL or DXY-GL  file to alternative  formats (including
  593.              printing).  See chapter 5 for more details.
  594.  
  595.         F9 - It switches  on or  off the  tracing of  the  individual
  596.              plotter commands during plotting  the file. It is  valid
  597.              only  for  "A  LARGE  VIEW".  First  every  command   is
  598.  
  599.  
  600.  
  601.                                     - 8 -
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.              executed,  then  it  is  displayed  in  the  information
  609.              window.  The  next  command  is  executed after pressing
  610.              Enter  or  F7.  In  this  mode  the  S key or the F8 key
  611.              switches on and off automatic tracing.
  612.  
  613.         F10 - It stops  the program.  The program  can be stopped  by
  614.              using the F10 key practically at any moment.
  615.  
  616.         Alt_1 - Alt_0 - The identification of pens. See chapter 9 for
  617.              more details.
  618.  
  619.         Alt_P - The information about assigning colors to pens.
  620.  
  621.         Alt_S - It saves the  selected palette of colors assigned  to
  622.              individual pens to be registered in the setup file.
  623.  
  624.         Alt_R - It restores the original palette unless the saving of
  625.              the palette has been already done.
  626.  
  627.         Alt_I - The initialization of graphics mode (it can be  used,
  628.              e.g., if the screen graphics mode is damaged -  possibly
  629.              by a popup resident program).
  630.  
  631.         Alt_V -
  632.         Alt_F10 - Video configuration. More details in chapter 8.
  633.  
  634.  
  635.  
  636.                 4.3 LIST OF KEYS IN A LARGE VIEW
  637.                 ---------------------------------
  638.  
  639.         F3, F4, F8, F9, F10,
  640.         Alt_F10, Alt_V
  641.         Alt_P, Alt_S, Alt_R, Alt_I - See "A SMALL VIEW".
  642.  
  643.         F1 - The return to the page of "A SMALL VIEW".
  644.  
  645.         1 - 0
  646.         Alt_1 - Alt_0 - See the identification of pens (chapter 9).
  647.  
  648.         F5 - Inserting a text  into the picture and the  manipulation
  649.              with it (see chapter 7 for more detailed information).
  650.  
  651.         Page_Up, Page_Dn - It switches between informative pages.  On
  652.                  the  first  page  there  is  the  size  of a plotted
  653.                  picture box expressed  in mm units.   On the  second
  654.                  page there is the  position in the plotted  file and
  655.                  the  position  of  the  cursor  in the plotting area
  656.                  expressed in plotter units. On both the pages  there
  657.                  are  the  most  important  parameters describing the
  658.                  state of the plotter.
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.                                     - 9 -
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.                 5. EXPORT
  673.                 ---------
  674.  
  675.           The SPLOT program  enables to export  a plotted picture  to
  676.         the following formats:
  677.  
  678.                 - HP-GL
  679.                 - DXY-GL (ROLAND)
  680.                 - PLOTCALL
  681.                 - DXF (AutoCAD)
  682.                 - POSTSCRIPT (color)
  683.                 -----------------
  684.                 - IBM Graphics (IBM 9 pin printer)
  685.                 - IBM X24 (IBM 24 pin printer)
  686.                 - EPSON LX
  687.                 - EPSON EX/FX (color)
  688.                 - EPSON LQ (color)
  689.                 - NEC 24 pin (color)
  690.                 - HP LaserJet
  691.                 - HP DeskJet (color)
  692.                 - HP PaintJet (color)
  693.                 - HP QuietJet
  694.                 - HP ThinkJet (HP mode)
  695.  
  696.           The HP-GL format executes  the export of a  plotted picture
  697.         to the HP-GL  plotter. It can  be employed, for  example, for
  698.         plotting a picture  cut on the  plotter, for the  output of a
  699.         multilingual text on the plotter (see chapter 7), or in  case
  700.         your  plotter  does  not  support  all  the  HP-GL   commands
  701.         supported  by   the  SPLOT   program.   The   last  case   is
  702.         characteristic especially  of the  situation you  own the  HP
  703.         ColorPro  7440A  plotter  and  you  have  not  the additional
  704.         graphics enhancement cartridge HP 17440A.
  705.  
  706.           The DXY-GL format realizes the  export of a picture to  the
  707.         DXY plotter (usually the ROLAND plotter).
  708.  
  709.           The PLOTCALL  format is  used in  the GoldenSoftware's PLOT
  710.         program which  supports a  wide range  of peripheral  devices
  711.         (printers, plotters).
  712.  
  713.           The DXF format converts a  picture to a form applicable  by
  714.         the AutoCAD program. From AutoCAD you can read this DXF  file
  715.         via the DXFIN command. The exported picture is written in the
  716.         form  of  LINES  where  each  pen  of the plotter has its own
  717.         LAYER. Pen  1 has  a layer  with the  name PEN1,  pen 2 has a
  718.         layer with the name PEN2, etc.
  719.  
  720.           The PostScript format can be used by any peripheral  device
  721.         which  has  implemented   PostScript  interpreter  (such   as
  722.         PostScript printer).
  723.  
  724.           The function of the other formats is to export a picture to
  725.         the corresponding peripheral devices - printers. The  (color)
  726.  
  727.  
  728.  
  729.                                     - 10 -
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.         word  indicates  a  possibility  of  color  printing  for the
  737.         appropriate format. Naturally, all formats can be used on all
  738.         printers compatible with these ones.
  739.  
  740.           The picture  can be  exported either  to the  disk file  or
  741.         directly to the corresponding peripheral device (a plotter, a
  742.         printer).  If  your  peripheral  device  is  connected to the
  743.         parallel interface, use PRN or LPT1 resp., LPT2, etc. as  the
  744.         output file. If it is connected to the serial interface,  use
  745.         COM1  or  COM2  respectively.  Set  the  parameters  of   the
  746.         corresponding serial interface by  the DOS MODE command  with
  747.         the parameter "p" beforehand, like this:
  748.  
  749.              MODE COM1:9600,,,,p
  750.  
  751.           If  you  export  a  picture  to  a disk file, which is less
  752.         time-consuming, you can use  the enclosed  programs BPLOT  or
  753.         BPRINT resp.,  for exporting  this file  to the corresponding
  754.         peripheral device  (in the  registered version  only).  These
  755.         programs  perform  exporting  files  to  the chosen serial or
  756.         parallel interface, on the time background.  Please,  realize
  757.         that it  is not  possible to  use the  DOS PRINT  command for
  758.         exporting binary files  (the files containing  graphics data)
  759.         to the printer.
  760.  
  761.           The export of the picture is started with the F8 key. In the
  762.         EXPORT menu you can specify:
  763.            - an exporting format,
  764.            - the size of the resultant picture,
  765.            - resolution (the size of a plotter unit) - in the case of
  766.              the DXY-GL export only,
  767.            - print density - if exporting to the printer,
  768.            - the output file name.
  769.  
  770.           If you set your own size of the output format, you have  to
  771.         give only  the size  of the  shorter side  Y, the  X side  is
  772.         counted automatically so that the resultant picture would  be
  773.         proportional. The  size is  given in  cm units  or inch units
  774.         according to the  choice from the  OPTIONS menu (see  chapter
  775.         6). The DXF format is an exception - here the output size  is
  776.         understood in units to be defined in AutoCAD.
  777.  
  778.           The  chosen  size  corresponds  with  the  real size of the
  779.         resultant picture realized by  exporting. It is necessary  to
  780.         consider it as the maximum  limits into which a picture  seen
  781.         in   the   program   plotting   area   can   be   transformed
  782.         proportionally. Therefore, for example, if you choose A4 size
  783.         paper  as  the  output  size  for  printing and if you have a
  784.         printer  of  the  same  size,  you  will reach a satisfactory
  785.         result only if you choose the LANDSCAPE orientation. For  the
  786.         PORTRAIT orientation it is necessary to choose the maximum A5
  787.         size for the  output so that  the resultant picture  could be
  788.         positioned on A4 size paper.
  789.  
  790.  
  791.  
  792.  
  793.                                     - 11 -
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.           The other parameters influencing the look of the  resultant
  801.         picture  can  be  set  in  the  menu activated by F4 key (see
  802.         chapter 6).
  803.  
  804.  
  805.  
  806.                 6. OPTIONS
  807.                 ----------
  808.  
  809.         With the menu activated by the F4 key it is possible to set:
  810.  
  811.         1. DEFAULT EXTENSIONS - this item sets default extensions
  812.                  of the following file types:
  813.            1.1 PLOT FILES - the files given in the menu of files from
  814.                  which  the  files  for  plotting  are  selected. For
  815.                  example, if this extension is PLT, the displaying of
  816.                  all  the  files  with  the  PLT  extension  will  be
  817.                  standard. If this extension is *, the displaying  of
  818.                  all the files will be standard.
  819.            1.2 HP-GL EXPORT -
  820.            1.3 DXY-GL EXPORT -
  821.            1.4 PLOTCALL EXPORT -
  822.            1.5 DXF EXPORT  -
  823.            1.6 POSTSCRIPT EXPORT -  sets standard  extensions  of the
  824.                  output files according to  the  type of  export. The
  825.                  name of the output file is composed of the base part
  826.                  derived from the name of  the exported file +   this
  827.                  standard extension.  However, the  file name  of the
  828.                  output file can be  changed before the beginning  of
  829.                  any export.
  830.            1.7 PRINT - sets  standard extensions of the  output files
  831.                  during  exporting  a  picture  designated  for   the
  832.                  printer.
  833.            1.8 TEXT - sets the standard extension of the output  file
  834.                  determined for storing texts on the disk.
  835.  
  836.         2. SORT ORDER FOR FILES - the choice of order in which  files
  837.                  are displayed. The sorting can be done by the  NAME,
  838.                  EXTENSION or SIZE.
  839.  
  840.         3. BACKGROUND - switches between NORMAL  and BRIGHT intensity
  841.                  of background white color  of plotting area  (paper)
  842.                  (in color modes only).
  843.  
  844.         4. VIDEO SETUP - more detailed information in chapter 8.
  845.  
  846.         5. SOUND - switches on and off sound signals.
  847.  
  848.  
  849.         6. TEMPORARY  PATH -  this menu  item sets  the directory  in
  850.                which  the  SPLOT  program  will  create its auxiliary
  851.                files  in  some  types  of  picture  exporting. If the
  852.                picture  exporting  stops  with  an error message "the
  853.                disk is full", it means, that there is not  sufficient
  854.  
  855.  
  856.  
  857.                                     - 12 -
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.                disk space for the  created output or auxiliary  file.
  865.                In the latter  case you can  try to set  the temporary
  866.                directory to another disk.  You can choose from  three
  867.                possibilities:
  868.            6.1 The directory defined by the environment variable  TMP
  869.                by means of the DOS SET command (e.g., SET TMP=D:\).
  870.            6.2 The directory defined by the environment variable TEMP.
  871.            6.3 A current work directory i.e., the directory given  on
  872.                the  information  board  of  the  program  in "a small
  873.                view".
  874.  
  875.  
  876.         7. USED UNITS  - it defines  units used for  setting the size
  877.                 and distances during picture exporting. The units may
  878.                 be given in cm (centimeters) or inch (inches).
  879.  
  880.         8. Parameters for the HP-GL EXPORT :
  881.           8.1 OUTPUT FORMAT can be like this:
  882.              a) NORMAL - every HP-GL  command is given on a  separate
  883.                          line and it is ended with a character ";".
  884.              b) PACKED - all the HP-GL  commands follow closely   one
  885.                          after  another  without  any separators. The
  886.                          number of uses of PU and PD instructions  is
  887.                          minimized.
  888.           8.2 ORIGIN IN CENTER - Activate this parameter only if  the
  889.                 resultant HP-GL file is designated for the plotter in
  890.                 which the origin of the coordinate system is situated
  891.                 in the center of the plotting area (it is usual  with
  892.                 large paper size  plotters,  e.g. HP  DraftPro or  HP
  893.                 DraftMaster).
  894.           8.3 PEN --> PEN - by  means of this item it is  possible to
  895.                 assign each  pen on  the input  a pen  on the output.
  896.                 Thus  it  is  possible,  for  example, to convert the
  897.                 picture that uses more pens to a single colored  one,
  898.                 or it is  possible to exclude  using some pen (if you
  899.                 assign PEN 0 as the output pen to it).
  900.           8.4 PEN OPTIMIZATION - if ON, the number of the grasping of
  901.                 pens when the picture is exported will be  optimized.
  902.                 This means that when the resultant  picture is  being
  903.                 drawn, each pen is grasped only once.
  904.           8.5 PEN ORDER - specifies the sequence of pens according to
  905.                 which the optimized picture will be drawn.
  906.           8.6 LEFT MARGIN -  specifies   the offset of  the  exported
  907.                 picture from the left margin - it is on the X axis  -
  908.                 it can also be a negative number.
  909.           8.7 BOTTOM MARGIN - specifies the  offset of the   exported
  910.                 picture from the bottom margin - it is on the Y  axis
  911.                 - it can also be a negative number.
  912.           8.8 PG AT END - specifies if the PG (Page Feed) instruction
  913.                 will be attached to the end of the output file.
  914.  
  915.         9. Parameters for the DXY-GL EXPORT:
  916.           9.1 OUTPUT FORMAT can be like this:
  917.               a) NORMAL - every DXY-GL command is given on a separate
  918.  
  919.  
  920.  
  921.                                     - 13 -
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.                           line.
  929.               b) PACKED - all the DXY-GL commands follow closely  one
  930.                           after another  without any  separators. The
  931.                           number of uses of  M and D instructions  is
  932.                           minimized.
  933.           9.2 ORIGIN IN CENTER - activate this parameter only if  the
  934.                 resultant DXY-GL file  is designated for  the plotter
  935.                 whose origin of the  originate system is situated  in
  936.                 the center of the plotting area.
  937.           9.3 PEN --> PEN - see the HP-GL export.
  938.           9.4 PEN OPTIMIZATION - see the HP-GL export.
  939.           9.5 PEN ORDER - see the HP-GL export.
  940.           9.6 LEFT MARGIN - see the HP-GL export.
  941.           9.7 BOTTOM MARGIN - see the HP-GL export.
  942.  
  943.         A. Parameters for the PLOTCALL EXPORT:
  944.           A.1 NUMBER OF DECIMAL DIGITS - It determines the number  of
  945.                 figures  written  after  the  decimal  point  at  the
  946.                 numbers on the output.
  947.           A.2 PEN --> PEN  - see the HP-GL export.
  948.           A.3 LEFT MARGIN - see the HP-GL export.
  949.           A.4 BOTTOM MARGIN - see the HP-GL export.
  950.  
  951.         B. Parameters for the DXF EXPORT:
  952.           B.1 NUMBER OF DECIMAL DIGITS - see the PLOTCALL export.
  953.           B.2 PEN --> PEN  - see the HP-GL export.
  954.           B.3 LEFT MARGIN - see the HP-GL export.
  955.           B.4 BOTTOM MARGIN - see the HP-GL export.
  956.  
  957.  
  958.         C. Parameters for the POSTSCRIPT EXPORT:
  959.           C.1 PEN --> COLOR -  It assigns  the  output color to
  960.                 individual pens for the color PostScript export.
  961.           C.2 LINE WIDTH  -  It   determines  the  line  width    for
  962.                 individual  pens.  By  default  the  line  width   is
  963.                 determined  by  the  PT  (pen thickness) instruction.
  964.                 The   line   width   is   controlled   by  the  HP-GL
  965.                 instructions and   will  vary   according  to   value
  966.                 issued  in  PT  instruction.  However note that  each
  967.                 SP (select pen) instruction  resets  the  PT  to  its
  968.                 default  value (mostly 0.3 mm).
  969.                 The other way is to set the line width to fixed  user
  970.                 defined value.  Unlike the  other measurement  values
  971.                 the line width is expressed in millimeters (mm).
  972.           C.3 90 DEGREES ROTATION - It determines the orientation of
  973.                 an exported picture.
  974.           C.4 LEFT MARGIN - specifies   the offset of  the   exported
  975.                 picture from the left margin - it is on the X axis  -
  976.                 it can also be a negative number.
  977.           C.5  BOTTOM/TOP MARGIN  -  specifies  the   offset  of  the
  978.                 exported picture from the bottom margin (when the  90
  979.                 degrees  rotation  is  suppressed)  or  from  the top
  980.                 margin (when the 90  degrees rotation is demanded)  -
  981.                 it is  on the  Y   axis -  it can  also be a negative
  982.  
  983.  
  984.  
  985.                                     - 14 -
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.                 number.
  993.  
  994.  
  995.         D. ALL PRINTERS - It sets   up various  parameters valid  for
  996.                 printing on all kinds of printers:
  997.           D.1 ORIENTATION -   It  determines  the  orientation  of  a
  998.                 printed  picture on the paper.  It may be either  the
  999.                 LANDSCAPE orientation (breadthwise)  or  the PORTRAIT
  1000.                 orientation (heightwise).
  1001.           D.2 FRAME - It  determines if  a printed  picture is  to be
  1002.                 situated in the frame limiting the plotted area.
  1003.           D.3 PEN FOR A FRAME - It determines  the number of the  pen
  1004.                 with which the frame  will be drawn. Its  function is
  1005.                 important for color printers, where the color of  the
  1006.                 frame is determined by assigning PEN --> COLOR.
  1007.           D.4 PAGE BREAK AT END - specifies  if the page break  (form
  1008.                 feed) command  will be  attached  to the end  of  the
  1009.                 output file.
  1010.           D.5 LEFT MARGIN - specifies the distance from the left stop
  1011.                 of  the  printhead  to  the  start  printing position
  1012.                 independently of the orientation.
  1013.           D.6 TOP MARGIN - specifies the size of shift of the printer
  1014.                 platen before starting printing independently of  the
  1015.                 orientation.
  1016.              The  LEFT MARGIN  and  TOP MARGIN  parameters  enable to
  1017.              place the printed picture in any place on the paper.  At
  1018.              laser printers which have neither printheads nor platens
  1019.              in a classic  sense of word,  the terms LEFT  MARGIN and
  1020.              TOP MARGIN always  relate to the  paper oriented in  the
  1021.              vertical   position   independently   of   the   picture
  1022.              orientation on the paper.
  1023.  
  1024.         E.  DOT MATRIX PRINTERS -  In  this  item it is  possible  to
  1025.                 increase the  number of  the printhead  passes during
  1026.                 printing.  It can be used for emphasizing printing or
  1027.                 when the ribbon is written up.
  1028.  
  1029.         F. Parameters for IBM X24 - it sets parameters for the IBM
  1030.               24 pin printers:
  1031.           F.1 OUTPUT FORMAT can be like this:
  1032.               a) NORMAL - without use of relative shift instructions.
  1033.               b) PACKED - the instructions for the relative shift  of
  1034.                           the  printhead  are  used  for reducing the
  1035.                           output  code  size.
  1036.           F.2 PANASONIC X24 - switches on and off Panasonic X24  mode
  1037.                  in which is used a different format for selecting  a
  1038.                  base line feed unit. This format is not strictly IBM
  1039.                  compatible and should be used with Panasonic 24  pin
  1040.                  printers in X24 mode.
  1041.  
  1042.         G. Parameters for EPSON - it sets parameters for the EPSON
  1043.               printers:
  1044.           G.1 OUTPUT FORMAT can be like this:
  1045.               a) NORMAL - without use of relative shift instructions.
  1046.  
  1047.  
  1048.  
  1049.                                     - 15 -
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.               b) PACKED - the instructions for the relative shift  of
  1057.                           the  printhead  are  used  for reducing the
  1058.                           output  code  size  (not  used for EPSON LX
  1059.                           printers), but on  some older types  it may
  1060.                           cause substantial reducing print rate.
  1061.           G.2 PEN --> COLOR  - It   assigns   the  output  color   to
  1062.                 individual pens  on the  color printers  of the EPSON
  1063.                 EX/LQ type. It is possible to choose from a fixed set
  1064.                 of 7 colors.
  1065.  
  1066.         H. Parameters for NEC 24 - it sets parameters for the NEC 24
  1067.               pin printers:
  1068.           H.1 OUTPUT FORMAT can be like this:
  1069.               a) NORMAL - without use of relative shift instructions.
  1070.               b) PACKED - the instructions for the relative shift  of
  1071.                           the  printhead  are  used  for reducing the
  1072.                           output  code  size.
  1073.           H.2 PEN --> COLOR  - It   assigns   the  output  color   to
  1074.                 individual pens on the NEC 24 pin color printers.  It
  1075.                 is possible to choose from a fixed set of 8 colors.
  1076.  
  1077.         I. Parameters for HP LaserJet - it sets parameters for the HP
  1078.                 LaserJet printers:
  1079.           I.1 OUTPUT FORMAT can be like this:
  1080.               a) NORMAL - no special coding used.
  1081.               b) PACKED - special  coding   is used for  reducing the
  1082.                           output code size. This coding is NOT a
  1083.                           standard feature of the HP LaserJet and
  1084.                           compatible printers and you must be sure
  1085.                           that your laser printer support this (it
  1086.                           must support ESC*b1M instruction - I have
  1087.                           tested this on the HP LaserJet IIIp model).
  1088.  
  1089.         J. Parameters for HP DeskJet - it sets parameters for  the HP
  1090.                 DeskJet printers:
  1091.           J.1 OUTPUT FORMAT can be like this:
  1092.               a) NORMAL - no special coding used.
  1093.               b) PACKED - special  coding   is used for  reducing the
  1094.                           output code size. This coding is a standard
  1095.                           feature of the HP DeskJet printers.
  1096.           J.2 PEN --> COLOR -  It  assigns   the   output   color  to
  1097.                 individual pens for color printing on the  HP DeskJet
  1098.                 printer. It is possible to choose from a fixed set of
  1099.                 7 colors.
  1100.  
  1101.  
  1102.         K. Parameters for HP PaintJet - it sets parameters for the HP
  1103.                 PaintJet  printers:
  1104.           K.1 OUTPUT FORMAT can be like this:
  1105.               a) NORMAL - no special coding used.
  1106.               b) PACKED - special  coding   is used for  reducing the
  1107.                           output code size. This coding is a standard
  1108.                           feature of the HP PaintJet printers.
  1109.           K.2 PEN --> COLOR -  It  assigns   the   output   color  to
  1110.  
  1111.  
  1112.  
  1113.                                     - 16 -
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                 individual pens for color printing on the HP PaintJet
  1121.                 printer.  It  is  possible  to  choose  from  a fixed
  1122.                 (standard) or variable (extended) set of colors. Both
  1123.                 color sets have 7 colors.  The extended color set can
  1124.                 be redefined by user from offer of 17 colors.
  1125.           K.3 COLOR SET  -   switches  between standard and  extended
  1126.                 color  set.  The  selected  color  set  is  used  for
  1127.                 defining assignment PEN --> COLOR.
  1128.           K.4 EXTENDED COLOR SET - It is used  for setting individual
  1129.                 colors in the  extended color set.   If the  extended
  1130.                 color set is  selected as used  color set, then  if a
  1131.                 color  in  this  set  is  changed,  the corresponding
  1132.                 assignment  PEN --> COLOR  is changed  automatically.
  1133.           K.5 MEDIA TYPE -  It selects  output media type -  paper or
  1134.                 foil.
  1135.  
  1136.  
  1137.         L. TEXT FILTER  - It switches on or off  a multilingual  TEXT
  1138.                 filter in the LB command  of HP-GL mode (or in  the P
  1139.                 command of  DXY-GL mode  of the  ROLAND plotter). See
  1140.                 chapter 7 for more detailed information.
  1141.  
  1142.         M. CODE PAGE SELECTION  -  It  sets a  code page  for a  text
  1143.                 filter (see chapter 7).  The code page can  look like
  1144.                 this:
  1145.                 - United States
  1146.                 - German
  1147.                 - Multilingual
  1148.                 - Portugal
  1149.                 - Canada - French
  1150.                 - Norway
  1151.  
  1152.  
  1153.  
  1154.                 7. INSERTING TEXTS INTO PICTURES
  1155.                 --------------------------------
  1156.  
  1157.           The SPLOT program is able to process a multilingual text in
  1158.         your HP-GL (or DXY-GL) files. As known, plotters receive only
  1159.         the ASCII characters in the range of 0 to 127.  Therefore, if
  1160.         the instruction for the output of the text (LB at HP-GL and P
  1161.         at DXY-GL resp.) contains the ASCII characters with the value
  1162.         higher  than  127,  the  plotter  will  not draw them or will
  1163.         ignore  the  highest  bit  of  characters  and  will draw the
  1164.         corresponding characters  from the  lower half  of the  ASCII
  1165.         table.  For  example, if you  use the following  statement in
  1166.         GW-BASIC (handle #1 represents the plotter),
  1167.  
  1168.             PRINT #1, "LBGröße";CHR$(3)
  1169.  
  1170.         the plotter will draw only the text
  1171.  
  1172.             Gre  or  Grae  respectively.
  1173.  
  1174.  
  1175.  
  1176.  
  1177.                                     - 17 -
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.         If you want to draw the  text correctly, you have to use  the
  1185.        following statements, e.g.:
  1186.  
  1187.             PRINT #1, "CS0;CA33;SS;LBGr";CHR$(3)
  1188.             PRINT #1, "SA;LB|~";CHR$(3)
  1189.             PRINT #1, "SS;LBe;CHR$(3)
  1190.  
  1191.         However,  e.g.,  if  you  own  the  HP ColorPro 7440A plotter
  1192.         without an  additional HP  17440A graphics cartridge, it will
  1193.         not help you either.
  1194.  
  1195.         The  above  mentioned  example  concerns  the use of a German
  1196.         text,  but  similar  problems  occur  also in other languages
  1197.         which use  the ASCII  characters from  the upper  half of the
  1198.         table.
  1199.  
  1200.         Therefore, the SPLOT program offers the TEXT FILTER  function
  1201.         with the  F7 key.  If you  switch on  this function,  all the
  1202.         ASCII  characters  from  the  value  of  128  to  175  and  ß
  1203.         character will be plotted according to the selected code page
  1204.         (see chapter 6).  And  it does not matter what  character set
  1205.         of  the  plotter  is  just  set.  This will enable  to  write
  1206.         multilingual  texts  in  your  HP-GL  (DXY-GL) files directly
  1207.         without complicated  switching of  character sets.  The HP-GL
  1208.         (DXY-GL) file created in this  way must be exported to  a new
  1209.         HP-GL (DXY-GL)  form through  the HP-GL  (DXY-GL) export (see
  1210.         chapter 5) with the TEXT filter switched on, and only such  a
  1211.         newly originated file can be drawn on the plotter.
  1212.  
  1213.         To demonstrate  using this   method of  writing  multilingual
  1214.         texts  we   recommend  you   to  study   over  the   enclosed
  1215.         demonstration file ASCIIT and display it at first with the
  1216.         TEXT filter being switched off and then on.
  1217.  
  1218.  
  1219.  
  1220.           Another function which the SPLOT program can offer for your
  1221.         work  with  the  HP-GL  text   is  the  function  of   direct
  1222.         (interactive) inserting texts into a picture. To do it, it is
  1223.         necessary to define its  position (XY), size (SI),  direction
  1224.         (DI), slant (SL), the character set number (CS), the selected
  1225.         pen (SP) and, naturally, the text itself.
  1226.  
  1227.           By means of the menu activated by the F5 key on the page of
  1228.         a  large  view  you  can  choose  the  following   individual
  1229.         functions necessary for the text manipulation :
  1230.  
  1231.          - define a new text item
  1232.          - edit already existing items
  1233.          - read the text items from the disk file
  1234.          - save the text items to the disk file
  1235.  
  1236.           On defining, editing or reading texts the SPLOT program  is
  1237.         brought  into  the  initial  state  which  corresponds   with
  1238.  
  1239.  
  1240.  
  1241.                                     - 18 -
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.         executing IN;RO;IP;IW; instructions. The user's scale (if  it
  1249.         was set before) and rotation,  if there is any,  is cancelled
  1250.         then. The  position of  the text  is given  in plotter  units
  1251.         absolutely, the size  of the text  is in cm  (SI) absolutely,
  1252.         the direction of the text is also in degrees (DI) absolutely,
  1253.         the slant is  understood as a  tangent of the  required angle
  1254.         (SL).
  1255.  
  1256.           The position of the text and its size can be defined either
  1257.         by setting numeric  values from the  keyboard or by  moving a
  1258.         quadrangle which  demonstrates the  outline of  the text  and
  1259.         which is  controlled by  the mouse  in a  similar way as when
  1260.         making picture cuts (zooming). To do this it is necessary  to
  1261.         move the cursor  of the mouse  to the plotting  area. Then by
  1262.         pressing the  left button  and moving  the mouse  at the same
  1263.         time the position of the text changes, by pressing the  right
  1264.         button and moving the mouse at the same time the size of  the
  1265.         text changes. The other values are set in a numeric form from
  1266.         the keyboard.
  1267.  
  1268.           Of course,  the text  itself can  be written  in a  desired
  1269.         language  with  the  ASCII  characters  >  127.  In the HP-GL
  1270.         (DXY-GL) picture these characters will be displayed according
  1271.         to the  code page  you will  choose in  the OPTIONS menu. The
  1272.         corresponding  support  of  the  national environment must be
  1273.         installed in MS-DOS  (it must support graphics modes) if  you
  1274.         want to have the same characters on the edit line.
  1275.  
  1276.           The  function  of  direct  inserting  a  text  accepts  the
  1277.         following keys :
  1278.  
  1279.           a) when  defining  a  new  text item or correcting  already
  1280.              existing text items:
  1281.  
  1282.                Alt_T - setting the text string for plotting
  1283.  
  1284.                Alt_X - setting the position of the text (X,Y) [pu]
  1285.  
  1286.                Alt_S - setting the size (X,Y) [cm] (i.e. the size  of
  1287.                        one text character)
  1288.  
  1289.                Alt_D - setting the direction of the text [deg]
  1290.  
  1291.                Alt_L - setting the slant of the text
  1292.  
  1293.                Alt_C - setting the character set number
  1294.  
  1295.                Alt_P - setting the  number of a pen for  plotting the
  1296.                        text
  1297.  
  1298.                F1    - finishing  the editing of  the text with   the
  1299.                        changes saved
  1300.  
  1301.                F2    - the redrawing of the edited text
  1302.  
  1303.  
  1304.  
  1305.                                     - 19 -
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.                F9 or Esc - finishing   the editing  of the text  with
  1313.                            canceling the changes
  1314.  
  1315.           b) when correcting already existing text items :
  1316.  
  1317.                F3 - skip to the correction of the previous text  item
  1318.                     (if it exists)
  1319.  
  1320.                F4 - skip to the correction of the next text item  (if
  1321.                     it exists)
  1322.  
  1323.                F6 - the choice of a text item for correcting (if  you
  1324.                     have defined more than one text item)
  1325.  
  1326.                F8 - the  canceling (erasing  from memory)  of a  text
  1327.                     item according to your choice
  1328.  
  1329.           In this  way it  is possible  to define  any number of text
  1330.         items  that  are  loaded  into  memory  and  after  finishing
  1331.         plotting the respective file they are drawn.
  1332.  
  1333.           It is  supposed that  the set  of the  text items  you have
  1334.         created relates to the plotted file. That is why when  coming
  1335.         to the plotting of  a new file (i.e.  when the plotting of  a
  1336.         file is  activated otherwise  than by  the F3  key or  F8 key
  1337.         resp.), all  the text  items are  always erased  from memory.
  1338.         Before it happens, the program enables to put the text on the
  1339.         disk if you did not do that before.
  1340.  
  1341.         There are two ways how to save the created texts :
  1342.  
  1343.         1) In the  HP-GL (or DXY-GL  resp.) form in  the plotted file
  1344.            (according to the item in the menu in the ORIGINAL  file).
  1345.            Respective commands for plotting the defined text items on
  1346.            the plotter are attached to  the end of the plotted  file.
  1347.            After the texts are saved on the disk in this manner, they
  1348.            are always erased from memory of the program, even if  you
  1349.            do not start plotting a  new file. This is the  final form
  1350.            of storing texts  which you can  use on condition  you are
  1351.            already satisfied with the  created texts and you  want to
  1352.            attach them to the displayed file for ever. If you want to
  1353.            display the texts  together with the  plotted file on  the
  1354.            plotter or on  the printer and  you do not  want to attach
  1355.            the texts to the original file for ever, use directly  the
  1356.            appropriate export format  with the F8  key (as the  texts
  1357.            loaded in the  memory of the  program are also  exported).
  1358.            Then  you  can  put  the  texts  on  the disk in the other
  1359.            described way.
  1360.  
  1361.         2) In a special format in a EXTRA file.  Only the texts saved
  1362.            in such a  way can be  read into the  program memory later
  1363.            again and thus you can continue in their editing.
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.                                     - 20 -
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.                 8. VIDEO CONFIGURATION
  1378.                 ----------------------
  1379.  
  1380.           The  SPLOT  program  is  a  graphics  program  requiring  a
  1381.         graphics  card  EGA  or  VGA  and  supporting  the  following
  1382.         graphics modes:
  1383.  
  1384.           1) monochrome mode
  1385.  
  1386.              - EGA 640x350
  1387.  
  1388.           2) 16 color modes
  1389.  
  1390.              - EGA 640x350
  1391.              - VGA 640x380
  1392.              - SUPER EGA 640x480, 640x258, 800x600
  1393.              - SUPER VGA 800x600, 1024x768
  1394.  
  1395.           The choice  of the  required mode  can be  made in the menu
  1396.         which is initiated by the Alt_F10 key or Alt_V key resp.   In
  1397.         this menu there are the following items :
  1398.  
  1399.          - AUTOMATIC MODE  - is determined  to set up  the video mode
  1400.               automatically according to the type of a video card and
  1401.               according to this it sets up the following modes:
  1402.               - EGA mono 640x350
  1403.               - EGA 16 color 640x350
  1404.               - VGA 16 color 640x480
  1405.  
  1406.          - BIOS MODE - is determined  to set up the mode you  require
  1407.               according  to  the  number  and  resolution.  The  mode
  1408.               numbers together with the appropriate resolution should
  1409.               be given  in the  documentation of  your graphics card.
  1410.               The BIOS  mode   number  is  to   be  set  in   decimal
  1411.               units standardly, if you want to set it in  hexadecimal
  1412.               units, write the H character  at  its end. This  way of
  1413.               setting the video mode is useful if you own an EGA card
  1414.               or  VGA card with high  resolution (SUPER EGA  or  VGA)
  1415.               and  you will  not find it in  the list of SUPER  cards
  1416.               offered  by the SPLOT program.
  1417.  
  1418.           - SUPER VIDEO  CARDS - contains  the lists of  SUPER EGA or
  1419.               VGA  cards  divided  according  to resolution (640x480,
  1420.               640x528, 800x600, 1024x768). Even  if your card is  not
  1421.               in the list, it is possible that it will function  when
  1422.               you choose another card of the list. In the other  case
  1423.               you can try  to set the  required mode by  means of the
  1424.               BIOS MODE item (except the resolution of 1024x768 which
  1425.               is highly hardware dependent).
  1426.               Notice - not all listed SVGA cards have been tested.
  1427.  
  1428.           - the other items of  the menu contain standard EGA  or VGA
  1429.             modes  in  which  the  SPLOT  program  can work (EGA mono
  1430.  
  1431.  
  1432.  
  1433.                                     - 21 -
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.             640x350, EGA color 640x350 and VGA color 640x480). It  is
  1441.             possible to set any of  these three modes on VGA,  but on
  1442.             the  EGA  cards  it  is  possible  to  set only EGA modes
  1443.             according to the type  of the connected monitor  (mono or
  1444.             color).
  1445.  
  1446.           - the last item of the menu called `VGA GRAY-SCALE'  serves
  1447.             to  switch  ON/OFF  the  gray-scale  summing on VGA video
  1448.             adapter.  You will need switch ON this option in case you
  1449.             have an VGA video adapter with mono monitor and your  VGA
  1450.             adapter   doesn't   perform   the   gray-scale    summing
  1451.             automatically.   The  gray-scale  summing  enables use of
  1452.             color video modes  along with VGA  mono monitor.   If the
  1453.             gray-scale summing is  active, each color  is transformed
  1454.             to  corresponding  gray  level  and  thus you are able to
  1455.             distinguish  individual  colors  even  when  using a mono
  1456.             monitor.   If the  gray-scale summing  is inactive,  some
  1457.             colors are  undistinguishable on  mono monitor  (e.g., in
  1458.             SPLOT program you may not see some pen colors unless  you
  1459.             change its color value). The `VGA GRAY-SCALE' item is not
  1460.             displayed  if  your  video  adapter  or active video mode
  1461.             doesn't support it.
  1462.  
  1463.  
  1464.  
  1465.                 9. PEN IDENTIFICATION
  1466.                 ---------------------
  1467.  
  1468.           The identification of pens  serves to emphasizing parts  of
  1469.         the picture drawn  with the same  pen and to  informing about
  1470.         the number  of pens  used during  drawing the  given picture.
  1471.         This information is useful namely for the correct loading  of
  1472.         the plotter pens in case you decide to draw the given picture
  1473.         on the plotter.
  1474.  
  1475.           The keys from Alt_1 to Alt_0  in a small view and the  keys
  1476.         from 1 to 0 in a  large view are determined for indicating  a
  1477.         part of the picture drawn by the same pen.  If you press  the
  1478.         appropriate  key,  a  part  of  the  picture  drawn  by   the
  1479.         appropriate pen will begin to  flash and it will be  flashing
  1480.         until you press the key corresponding with the identification
  1481.         of another pen or if you do not cancel the identification  by
  1482.         pressing the Alt_0  key or 0  key resp.   This identification
  1483.         functions only in color video modes.
  1484.  
  1485.         Example: If you press  the key Alt_1 (in  a small view) or  1
  1486.                  (in a  large view)  resp., the  part of  the picture
  1487.                  drawn by the pen number 1 will begin to flash (Alt_2
  1488.                  or 2 resp. by the pen number 2, etc.).
  1489.  
  1490.           In color modes in the SPLOT program each pen is  associated
  1491.         with appropriate  color. It  is possible  to choose  from the
  1492.         palette of 62 colors for  each pen. You can change  the color
  1493.         of the pen when the identification of this pen is switched on
  1494.  
  1495.  
  1496.  
  1497.                                     - 22 -
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.         by pressing  the Gray-Plus  key or  the Gray-Minus  key resp.
  1505.         (increasing or decreasing the number of the color  associated
  1506.         with this pen). When  the pen identification is  switched on,
  1507.         information about the color number of the pen in a large view
  1508.         is given in the right  bottom corner of the screen.  In large
  1509.         view you can change pen colors also after pressing the  Alt_1
  1510.         key, the Alt_2 key etc.  In this case there is no flashing of
  1511.         the part of the  picture as it is  in a small view,  but only
  1512.         information about the color number  of the pen, which can  be
  1513.         changed in  the described  way, appears  in the  right bottom
  1514.         corner.   You can  save the  palette of  the colors  you have
  1515.         chosen by  pressing the  Alt_S key,  or you  can restore  the
  1516.         original palette by the Alt_R key.
  1517.  
  1518.           The information panel containing the individual pen numbers
  1519.         serves to identify  the numbers of  pens used during  drawing
  1520.         the picture. At the beginning of drawing all the pen  numbers
  1521.         are  gray,   during  drawing   the  color   of  the    number
  1522.         corresponding with the  pen just being  used is white,  after
  1523.         finishing drawing the color of the numbers corresponding with
  1524.         all the used pens is white.
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.                                     - 23 -
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.                 10. NOTES
  1569.                 ---------
  1570.  
  1571.         - When  the  SPLOT  program  is  started, it is in the  state
  1572.           corresponding with the state of the simulated plotter  just
  1573.           switched  on.  When  coming  to  plotting  a  new file, the
  1574.           program performs only the  operation of changing paper.  In
  1575.           this case the program (plotter) is in the state in which it
  1576.           has been left by the commands of the previous file. That is
  1577.           why  it  is  generally  recommended  to place an initiating
  1578.           command sequence  to the  beginning of  each file.  It will
  1579.           bring the plotter  to the well-known  state.  Otherwise  it
  1580.           can happen that the same  file can be drawn in  another way
  1581.           every time,  dependently of  the contents  of the  previous
  1582.           plotted files. The author recommends to use the  initiating
  1583.           sequence IN;RO;IP;IW; (in some plotters the IN command does
  1584.           not influence the setting of rotation).
  1585.             In  other  cases  the  program  is  brought  to the state
  1586.           corresponding with the switching off and on the plotter  in
  1587.           these cases:
  1588.            - at any change of the format or the paper size,
  1589.            - at the change of the language syntax (HP-GL <--> DXY-GL),
  1590.            - at  switching  on/off  the  simulation  of the  graphics
  1591.              cartridge HP 17440A (ColorPro).
  1592.  
  1593.         - After  finishing  the  SPLOT  program  saves  the important
  1594.           parameters (a palette of colors for pens, a choice of  view
  1595.           for plotting, a size of  paper, command mode, etc.) in  the
  1596.           SPLOT.INI file in  the directory in  which the program  EXE
  1597.           file is situated.  When starting the program, the SPLOT.INI
  1598.           file is used for resetting these parameters. If you want to
  1599.           set a permanent configuration of the program which will not
  1600.           be changed,set on the READ ONLY attribute of this file.
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.                                     - 24 -
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.           NOTICE
  1633.  
  1634.           -  Hewlett-Packard,  HP-GL,  HP,  DraftPro,    DraftMaster,
  1635.              LaserJet, DeskJet and PainJet are registered  trademarks
  1636.              of the Hewlett-Packard Company.
  1637.  
  1638.          -   Microsoft,  MS,   MS-DOS  and  GW-BASIC  are  registered
  1639.              trademarks  and  Windows  is  a  trademark  of Microsoft
  1640.              Corporation.
  1641.  
  1642.           -  IBM and PC-DOS are registered trademarks of
  1643.              International Business Machines Corporation.
  1644.  
  1645.           -  EPSON is a registered trademark of EPSON Corporation.
  1646.  
  1647.           -  AutoCAD is a registered trademark of Autodesk, Inc.
  1648.  
  1649.           -  PostScript is a trademark of Adobe Systems, Inc.
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.                                     - 25 -
  1687.  
  1688.